<?php
require_once("init.php");
$type=$_GET['type'];
$screen_name=$_GET['screen_name'];
$url="http://twitter.com/friendships/".$type."/".$screen_name.".json";
post_to_twitter($url,"");
header("Location: index.php");
?>